// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueResource from 'vue-resource'
import ElementUI from 'element-ui'
//import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/css.css'
import './assets/layui/css/layui.css'
import './assets/css/public.css'


//import 'swiper/css/swiper.css'
import axios from 'axios';
Vue.prototype.$axios = axios;

//Vue.use(VueAwesomeSwiper)
Vue.use(ElementUI)//全局使用ElementUI
Vue.use(VueResource)

Vue.config.productionTip = false
Vue.http.options.emulateJSON = true


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
